<?php

namespace App\Http\Controllers\OpenShop\Feishu;


use App\Http\Controllers\BaseController;
use App\Service\OpenShop\Feishu\OrderLogService;
use Illuminate\Http\Request;

class OrderLogController extends BaseController
{
    public function index(Request $request)
    {
        $id       = (int)$request->get('id');
        $pageNum  = (int)$request->get('pageNum', 1);
        $pageSize = (int)$request->get('pageSize', 20);
        return $this->success(OrderLogService::paginateList($id, $pageSize, $pageNum));
    }
}